home *** CD-ROM | disk | FTP | other *** search
- 64
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- MsgBox
- --- RECORDSEPARATOR ---
- Platform:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Windows and Macintosh
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Description:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- baMsgBox displays a standard MessageBox
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Usage:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Result = baMsgBox( Message, Caption, Buttons, Icon, DefButton )
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Arguments:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- String, String, String, String, Integer.
- --- RECORDSEPARATOR ---
- Message is the message to display. This can contain more than one line.
- --- RECORDSEPARATOR ---
- Caption is the caption to show in the Title bar.
- --- RECORDSEPARATOR ---
- Buttons is the type of buttons to display. This can be one of the following:
- --- RECORDSEPARATOR ---
- "OK"
- --- RECORDSEPARATOR ---
- "OKCancel"
- --- RECORDSEPARATOR ---
- "RetryCancel"
- --- RECORDSEPARATOR ---
- "AbortRetryIgnore"
- --- RECORDSEPARATOR ---
- "YesNo"
- --- RECORDSEPARATOR ---
- "YesNoCancel"
- --- RECORDSEPARATOR ---
- Icon is the type of icon to display. This can be one of the following:
- --- RECORDSEPARATOR ---
- "Stop"
- --- RECORDSEPARATOR ---
- "Information"
- --- RECORDSEPARATOR ---
- "Question"
- --- RECORDSEPARATOR ---
- "Exclamation"
- --- RECORDSEPARATOR ---
- "NoIcon"
- --- RECORDSEPARATOR ---
- DefButton is the number of the default (selected) button. Can be 1, 2, or 3
- --- RECORDSEPARATOR ---
- depending on the number of buttons. On
- --- RECORDSEPARATOR ---
- Windows
- --- RECORDSEPARATOR ---
- , the button on the left hand side
- --- RECORDSEPARATOR ---
- is 1. On
- --- RECORDSEPARATOR ---
- Macintosh
- --- RECORDSEPARATOR ---
- , the right hand button is number 1.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Returns:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- String.
- --- RECORDSEPARATOR ---
- Returns the name of the button clicked eg "OK" or "Ignore".
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Examples:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Director:
- --- RECORDSEPARATOR ---
- set Answer = baMsgBox( "Is this is a test message?", "A question" , "YesNo",
- --- RECORDSEPARATOR ---
- "Question" , 1 )
- --- RECORDSEPARATOR ---
- if Answer = "Yes" then baMsgBox("Correct!" , "The answer", "OK", "Information", 1)
- --- RECORDSEPARATOR ---
- Authorware:
- --- RECORDSEPARATOR ---
- Answer := baMsgBox( "Is this is a test message?", "A question" , "YesNo",
- --- RECORDSEPARATOR ---
- "Question" , 1 )
- --- RECORDSEPARATOR ---
- if Answer = "Yes" then baMsgBox("Correct!" , "The answer", "OK", "Information", 1)
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Notes:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- On
- --- RECORDSEPARATOR ---
- Macintosh
- --- RECORDSEPARATOR ---
- , you can use alternative icon names - "Note" instead of
- --- RECORDSEPARATOR ---
- "Information"; "Caution" instead of "Exclamation".
- --- RECORDSEPARATOR ---
- On
- --- RECORDSEPARATOR ---
- Macintosh
- --- RECORDSEPARATOR ---
- , if the Caption argument is empty, then a non-movable message box
- --- RECORDSEPARATOR ---
- will be used.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- See also:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- baMsgBox